package com.shuwen.gcdj.bean.conditionMonitoring.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDate;

/**
 * @author XYC
 */
@Data
public class CenterTrendstabilityReq {

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编码",required = true)
    @NotEmpty(message = "equipmentCode设备编码不能为空")
    private String  equipmentCode ;
    /**
     * 时间
     */
    @ApiModelProperty("时间")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDate viewDate ;
}
